home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / Browser Speed / Webcelerator.exe / uninst.k < prev    next >
Encoding:
Text File  |  2001-03-22  |  2.4 KB  |  86 lines

  1. #vi: set ts=4 sw=4: 
  2. #-------------- Begin ------------------------------------------ 
  3. # init_main_data -- sets up values common to all products
  4.  
  5. @init_main_data
  6. {
  7.     set CompanyKey = Software\Acceleration Software International Corporation;    # the root registry key for all our software
  8.     set ProductKey = $(CompanyKey)\$(param1);                    # the root registry key for this product only
  9.     set RunKey     = Software\Microsoft\Windows\CurrentVersion\Run;
  10. };
  11.  
  12.  
  13.  
  14. @Init_WebC7_data
  15. {
  16.     call init_main_data, Webcelerator;
  17.     
  18.     set startmenu = Webcelerator\Start Webcelerator.lnk,
  19.             Webcelerator\Settings.lnk,
  20.             Webcelerator\Webcelerator Help.lnk,
  21.             Webcelerator\Cache Browser Utility.lnk,
  22.             Webcelerator\Uninstall Webcelerator,
  23.             Webcelerator;
  24.             
  25. };
  26.  
  27.  
  28. @begin_WEBC7
  29. {
  30.     call Init_WebC7_data;
  31.     echo cleaning WEBC7.....;
  32.     
  33.     PulseEvent Acceleration Software/Event/WebceleratorShutdownEvent;
  34.     
  35.     call_special_func shutdown_ddeproc;
  36.     
  37.     call_special_func show_webcelerator_dialog;
  38.     
  39.     call_special_func uninstall_webc7_layer; 
  40.  
  41. #    get all the files in the install\help directory and delete them
  42.  
  43.     GetFilesIn $1\help\prog files,*.*,allfiles;
  44.     echo files in install\help\prog files dir are $(allfiles);
  45.     rm $(allfiles);
  46.  
  47.     GetFilesIn $1\help\gfx,*.*,allfiles;
  48.     echo files in install\help\gfx dir are $(allfiles);
  49.     rm $(allfiles);
  50.  
  51.     GetFilesIn $1\help,*.*,allfiles;
  52.     echo files in install\help dir are $(allfiles);
  53.     rm $(allfiles);
  54.    
  55. #    get all the files in the install directory and delete them
  56.  
  57.     GetFilesIn $1,*.*,allfiles;
  58.     echo files in install dir are $(allfiles);
  59.     rm $(allfiles);
  60.    
  61.     rmdir $1\help\prog files;
  62.     rmdir $1\help\gfx;
  63.     rmdir $1\help;
  64.     rmdir $1;
  65.     
  66.     rmkey hklm,$(ProductKey);
  67.     rmkey hklm,Software\Microsoft\Windows\CurrentVersion\Uninstall\Webcelerator200;
  68.     
  69.     set killkey= Software\Acceleration Software International Corporation\Webcelerator200\uninstall;
  70.     rmkey hklm,$(killkey);
  71.     
  72.     rmkey hklm,$(CompanyKey)\Download Helper;
  73.     rmkey hklm,$(CompanyKey)\Webcelerator\Settings;
  74.     rmkey hklm,$(CompanyKey)\Webcelerator;
  75.     rmkey hklm,$(CompanyKey)\Webcelerator200;
  76.     rmkey hkcu,$(CompanyKey)\Eagle Browsers Spy;
  77.     
  78.     rmval hklm,$(RunKey),Webcelerator;
  79.     rmval hklm,$(RunKey),WebceleratorHost;
  80.     rmval hklm,$(RunKey),WebceleratorTrHost;
  81.     rmval hklm,$(RunKey),ddeproc;
  82.     
  83.     
  84.     rmsm $(startmenu);
  85. };        
  86.